#ifndef BASE64_H
#define BASE64_H

const int base64_val[] =
{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,	// 0 - 15
 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,	// 16 - 31
//	32	33	34	35	36	37	38	39	40	41	42	'+'		32 - 43
	-1,	-1,	-1,	-1,	-1,	-1,	-1,	-1,	-1,	-1,	-1,	62,
//	44	45	46	'/'	'0'	'1'	'2'	'3'	'4'	'5'	'6'	'7'		44 - 55
	-1,	-1,	-1,	63,	52,	53,	54,	55,	56,	57,	58,	59,
//	'8'	'9'	58	59	60	61	62	63	64	'A'	'B'	'C'		56 - 67
	60,	61,	-1,	-1,	-1,	-1,	-1,	-1,	-1,	0,	1,	2,
//	'D'	'E'	'F'	'G'	'H'	'I'	'J'	'K'	'L'	'M'	'N'	'O'		68 - 79
	3,	4,	5,	6,	7,	8,	9,	10,	11,	12,	13,	14,
//	'P'	'Q'	'R'	'S'	'T'	'U'	'V'	'W'	'X'	'Y'	'Z'	91		80 - 91
	15,	16,	17,	18,	19,	20,	21,	22,	23,	24,	25,	-1,
//	92	93	94	95	96	'a'	'b'	'c'	'd'	'e'	'f'	'g'		92 - 103
	-1,	-1,	-1,	-1,	-1,	26,	27,	28,	29,	30,	31,	32,
//	'h'	'i'	'j'	'k'	'l'	'm'	'n'	'o'	'p'	'q'	'r'	's'		104 - 115
	33,	34,	35,	36,	37,	38,	39,	40,	41,	42,	43,	44,
//	't'	'u'	'v'	'w'	'x'	'y'	'z'	123	124	125	126	127		116 - 127
	45,	46,	47,	48,	49,	50,	51,	-1,	-1,	-1,	-1,	-1};

#endif // BASE64_H
